﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CC98.HtmlParser
{
	internal class DispPageParser : Parser<DispPageInfo>
	{

		private static void Parse()
		{
			var pattern = @"贴子主题</B>： (?<title>.*?)</th>";

			var p2= @"<tr><td class=tablebody1 valign=top width=175>.*?<B>(?<name>.*?)</B>.*?<img src=(?<gendertag>.*?) alt=.*?></td><td width=16 valign=middle><img src=star/z8.gif alt=天蝎座1989-11-19></td></tr></table>&nbsp;&nbsp;<a target=""_blank"" href=dispuser.asp?name=%E4%BD%90%E9%A5%B5%E9%92%89 ><img src=http://file.cc98.org/uploadface/254185.jpg width=120 height=120 border=0 ></a><br>&nbsp;&nbsp;<img src=pic/evil.gif><br>&nbsp;&nbsp;头衔：(?<title>.*?)<br>.*?等级：(?<level>.*?)<BR>.*?威望：(?<prev>\-?\d+)<br>&nbsp;&nbsp;文章：(?<post>\d+)<br>.*?<font color=blue>(职务：(?<job>.*?))?</font><br></td>";
		}

		public override DispPageInfo Parse(string rawHtml)
		{
			var result = new DispPageInfo();

			return result;
		}
	}
}
